/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh   movingAdaptiveFvMesh;

errorEstimator densityGradient;      // Model used to estimate error
balance no;
motionSolver      velocityLaplacian;

"(displacement|velocity)LaplacianCoeffs"
{
    diffusivity quadratic inverseDistance (interface);
}

beginUnrefine 1e-5;

// How often to refine
refineInterval  3;

// Refine field in between lower..upper (varies based on errorEstimator)
lowerRefineLevel 0.01;

// If value < unrefineLevel unrefine
unrefineLevel   0.01;

// Number of cells refined around high error cells
nBufferLayers   3;

// Refine cells only up to maxRefinement levels
maxRefinement   1;

// Write the refinement level as a volScalarField
dumpLevel       true;

// ************************************************************************* //
